home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / csajrep.z / csajrep
Encoding:
Text File  |  2002-10-03  |  13.5 KB  |  265 lines

  1.  
  2.  
  3.  
  4. ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))                                                        ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      csajrep - prints a job report from the _s_o_r_t_e_d _p_a_c_c_t file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp [_----_ssss _f_i_l_e] [_----_bbbb] [_----_cccc] [_----_hhhh] [_----_qqqq] [_----_tttt] [_----_wwww] [_----_xxxx] [_----_AAAA] [_----_BBBB] [_----_FFFF] [_----_JJJJ] [_----_LLLL] [_----_SSSS] [_----_TTTT] [_----_ZZZZ]
  13.  
  14.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp [_----_ssss _f_i_l_e] [_----_jjjj _j_i_d] [_----_nnnn _s_e_q_n_o] [_----_pppp _p_r_i_d] [_----_rrrr _r_e_q_i_d] [_----_uuuu _u_i_d] [_----_bbbb] [_----_cccc] [_----_eeee]
  15.      [_----_hhhh] [_----_qqqq] [_----_tttt] [_----_wwww] [_----_xxxx] [_----_AAAA] [_----_BBBB] [_----_JJJJ] [_----_LLLL] [_----_SSSS] [_----_TTTT] [_----_ZZZZ]
  16.  
  17.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp [_----_ssss _f_i_l_e] _----_NNNN [_----_AAAA]
  18.  
  19.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp [_----_ssss _f_i_l_e] [_----_WWWW [_----_AAAA]
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      The _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp command reports job accounting information from the sorted
  23.      pacct file, which is created by the _cccc_ssss_aaaa_bbbb_uuuu_iiii_llll_dddd(1M) command.
  24.  
  25.      The _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp command accepts the following three types of options:  input,
  26.      selection, and printing.  If you omit the options, input is read from
  27.      _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_wwww_oooo_rrrr_kkkk_////_ssss_pppp_aaaa_cccc_cccc_tttt and all records from each completed job are
  28.      reported.  You can select a subset of jobs by specifying the user ID,
  29.      project ID, job ID, Network Queuing System (NQS) sequence number, or
  30.      workload management request ID for which you seek accounting information.
  31.  
  32.    IIIInnnnppppuuuutttt OOOOppppttttiiiioooonnnnssss
  33.      The following option specifies an input file for the job accounting
  34.      report:
  35.  
  36.      _----_ssss _f_i_l_e   Specifies the name of the sorted pacct file created by
  37.                _cccc_ssss_aaaa_bbbb_uuuu_iiii_llll_dddd(1M).  The default file is _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_wwww_oooo_rrrr_kkkk_////_ssss_pppp_aaaa_cccc_cccc_tttt.
  38.  
  39.    SSSSeeeelllleeeeccccttttiiiioooonnnn OOOOppppttttiiiioooonnnnssss
  40.      By default, the _----_jjjj, _----_nnnn, _----_pppp, and _----_uuuu selection options report entire jobs.
  41.      The _----_eeee option limits the report to records that match the selection
  42.      criteria.  The _----_eeee option must be used with at least one of the following
  43.      options: _----_jjjj, _----_nnnn, _----_pppp, or _----_uuuu.  You cannot specify the _----_FFFF option in
  44.      combination with any of the following options: _----_jjjj, _----_nnnn, _----_pppp, or _----_uuuu.
  45.  
  46.      Otherwise, the _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp command accepts the following selection options:
  47.  
  48.      _----_eeee        Selects only the records that meet the selection criteria as
  49.                defined by the _----_jjjj, _----_nnnn, _----_pppp, and _----_uuuu options.  The _----_eeee option must
  50.                be used with at least one of these four options.  By default,
  51.                _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp outputs all of the records from jobs that contain at
  52.                least one record that meets the selection criteria.
  53.  
  54.      _----_jjjj _j_i_d    Specifies a (numeric) job ID.  The job ID must be specified in
  55.                hexadecimal.  The "0x" prefix or "0X" prefix are optional.
  56.  
  57.      _----_nnnn _s_e_q_n_o  Specifies an NQS sequence number or workload management request
  58.                ID.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))                                                        ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      _----_pppp _p_r_o_j_i_d Specifies a numeric project ID or project name.
  75.  
  76.      _----_uuuu _u_i_d    Specifies a numeric user ID or a user login name.
  77.  
  78.      _----_FFFF        By default, _----_FFFF displays all records for completed jobs.  This
  79.                option cannot be used with any of the following options:  _----_eeee,
  80.                _----_jjjj, _----_nnnn, _----_pppp, and _----_uuuu.  When _----_FFFF is used with the _----_AAAA option, all
  81.                records for both active and completed jobs are reported.  When
  82.                _----_FFFF is used with the _----_ZZZZ option, all records are reported except
  83.                those with a job ID (_j_i_d) of 0.
  84.  
  85.      _----_NNNN        Selects only NQS or workload management requests.  Information
  86.                about each segment of a request is reported by _j_o_b_i_d, _u_s_e_r__i_d,
  87.                and _p_r_o_j_e_c_t__i_d combination.  This option can only be used with
  88.                the _----_AAAA and _----_ssss options.
  89.  
  90.      _----_ZZZZ        Ignores records for which the job ID is equal to _0000.
  91.  
  92.    PPPPrrrriiiinnnnttttiiiinnnngggg OOOOppppttttiiiioooonnnnssss
  93.      The _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp command accepts the following printing options:
  94.  
  95.      _----_bbbb        Reports system billing unit (SBU) usage.
  96.  
  97.      _----_cccc        Reports system and user CPU usage.
  98.  
  99.      _----_hhhh        Suppresses report headings.
  100.  
  101.      _----_qqqq        Reports the run queue wait time; for NQS and workload
  102.                management records, reports the queue wait time and queue type.
  103.  
  104.      _----_tttt        Prints summary information.
  105.  
  106.      _----_wwww        Reports the block I/O wait time, raw I/O wait time, high-water
  107.                core memory usage value, and high-water virtual memory usage
  108.                value.
  109.  
  110.      _----_xxxx        Reports the number of k-characters read and written, the number
  111.                of blocks read and written, and the number of read and write
  112.                system calls.  The read and written values are printed
  113.                separately.
  114.  
  115.      _----_AAAA        Reports both active and completed jobs.  By default, only
  116.                completed jobs are reported.
  117.  
  118.      _----_BBBB        Reports process and job starting times.
  119.  
  120.      _----_JJJJ        Reports job ID.
  121.  
  122.      _----_LLLL        Puts form feeds at the end of each job.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))                                                        ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))
  137.  
  138.  
  139.  
  140.      _----_SSSS        Reports the array session handle.
  141.  
  142.      _----_TTTT        Prints only summary information for each job.
  143.  
  144. NNNNOOOOTTTTEEEESSSS
  145.      A job may contain multiple user IDs and project IDs, because the user may
  146.      have executed commands such as _ssss_uuuu(1) or _nnnn_eeee_wwww_pppp_rrrr_oooo_jjjj(1).  Also, NQS and
  147.      workload management jobs have multiple job IDs when the request is rerun.
  148.  
  149.      The start-of-job and end-of-job records do not contain project IDs.
  150.      Thus, when the _----_eeee and _----_pppp options are used together, no start-of-job or
  151.      end-of-job information is reported.
  152.  
  153.      Only NQS or workload management information is reported when the _----_eeee and
  154.      _----_nnnn options are used together, because only NQS accounting records contain
  155.      the sequence number and workload management accounting records contain
  156.      the request ID.
  157.  
  158.      Accounting records sometimes have a job ID of _0000 when Comprehensive System
  159.      Accounting (CSA) cannot determine the correct job ID.
  160.  
  161.      When the _----_uuuu option is used without the _----_eeee option, all records for jobs
  162.      containing at least one accounting record for the specified user are
  163.      displayed.
  164.  
  165.      For example, if user1 executes the command _rrrr_ssss_hhhh _ssss_gggg_iiii _wwww_hhhh_oooo from a remote
  166.      host, then the command _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp _----_uuuu _uuuu_ssss_eeee_rrrr_1111 _----_JJJJ_BBBB_cccc _----_ssss _ssss_pppp_aaaa_cccc_cccc_tttt
  167.      would produce output similar to:
  168.  
  169.           JOB          PROJECT  LOGIN    COMMAND         START         USER-TIM SYS-TIM
  170.           ID           NAME     NAME     NAME            TIME          [SECS]   [SECS]
  171.           ============= ======== ======== ======== ==================== ======== ========
  172.                  0x146 Xydev    user1    who      Jan  7 13:28:02 2000    0.004    0.008
  173.                  0x146 System   root     rshd     Jan  7 13:28:02 2000    0.004    0.014
  174.  
  175.  
  176.      The _rrrr_ssss_hhhh_dddd(1M) command was executed by root on behalf of user _uuuu_ssss_eeee_rrrr_1111; thus
  177.      it is reported by the _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp _----_uuuu option.
  178.  
  179.      When used with _----_uuuu, the _----_eeee option suppresses the printing of all
  180.      accounting records which are not for the specified user.  In the previous
  181.      example, the command _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp _----_eeee_uuuu _uuuu_ssss_eeee_rrrr_1111 _----_JJJJ_BBBB_cccc _----_ssss _ssss_pppp_aaaa_cccc_cccc_tttt would
  182.      produce output similar to:
  183.  
  184.           JOB           PROJECT  LOGIN    COMMAND         START         USER-TIM SYS-TIM
  185.           ID            NAME     NAME     NAME            TIME          [SECS]   [SECS]
  186.           ============= ======== ======== ======== ==================== ======== ========
  187.                   0x146 Xydev    user1    who      Jan  7 13:28:02 2000    0.004    0.008
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))                                                        ccccssssaaaajjjjrrrreeeepppp((((1111MMMM))))
  203.  
  204.  
  205.  
  206. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  207.      Example 1:  The following example generates a list of commands by job
  208.      that user _jjjj_dddd_oooo_eeee executed.  The list includes job ID, start time, and both
  209.      terminated and nonterminated jobs in the output:
  210.  
  211.           _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp _----_uuuu _jjjj_dddd_oooo_eeee _----_AAAA_BBBB_JJJJ
  212.  
  213.      Example 2:  The following example prints information about NQS job _4444_1111_4444_0000:
  214.  
  215.           _cccc_ssss_aaaa_jjjj_rrrr_eeee_pppp _----_nnnn _4444_1111_4444_0000 _----_BBBB_JJJJ_cccc_qqqq_tttt_wwww_xxxx
  216.  
  217. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  218.      csabuild(1M), csarun(1M).
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.